﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ImobitechModel.com.Controller;

namespace Imobitech.Perfil
{
    public partial class listarfuncionario : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                IDictionary<string, string> funcionario = new Dictionary<string, string>();
                ControladorPerfis cg = new ControladorPerfis();

                Object values = cg.retornaFuncionarios(funcionario);
                gdvPlanos.DataSource = values;
                gdvPlanos.DataBind();
                A1.Attributes.Add("href", "cadastroFuncionario.aspx");
            }
        }
    }
}